/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication6.PBO1.src.pbo1;

/**
 *
 * @author admin
 */
public class Administrasi extends Pegawai{
    private double GAJI_TRANSPORT=20000;
    private int jumlahHari;

    public double hitungTunjTransport()
    {
        return getJumlahHari()*getGAJI_TRANSPORT();
    }

    /**
     * @return the GAJI_TRANSPORT
     */
    public double getGAJI_TRANSPORT() {
        return GAJI_TRANSPORT;
    }

    /**
     * @param GAJI_TRANSPORT the GAJI_TRANSPORT to set
     */
    public void setGAJI_TRANSPORT(double GAJI_TRANSPORT) {
        this.GAJI_TRANSPORT = GAJI_TRANSPORT;
    }

    /**
     * @return the jumlahHari
     */
    public int getJumlahHari() {
        return jumlahHari;
    }

    /**
     * @param jumlahHari the jumlahHari to set
     */
    public void setJumlahHari(int jumlahHari) {
        this.jumlahHari = jumlahHari;
    }
    
    @Override
    public double gajiTotal()
    {
        return tunjanganKeluarga()+gajiLembur()+getGaji_pokok()+this.hitungTunjTransport();
    }
    
}
